package com.jboost.hyk.common.entity;


import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.jboost.common.system.base.entity.JBoostEntity;

/**
 * @Description: 退款订单
 * @Author: cxn
 * @Date:   2022-10-22
 * @Version: V1.0
 */
@Data
@TableName("hyk_order_refund")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hyk_order_refund对象", description="退款订单")
public class OrderRefund extends JBoostEntity{

    @TableLogic
    /**delFlag*/
    @ApiModelProperty(value = "delFlag")
    private Integer delFlag;

    /**businessId*/
    @ApiModelProperty(value = "businessId")
    private String businessId;

    /**orderId*/
    @ApiModelProperty(value = "orderId")
    private String orderId;

    /**退款服务期（月）*/
    @ApiModelProperty(value = "退款服务期（月）")
    private Integer serviceTime;

    /**退款账号数量*/
    @ApiModelProperty(value = "退款账号数量")
    private Integer accountNum;

    /**退款知识点*/
    @ApiModelProperty(value = "退款知识点")
    private Integer pointNum;
    @ApiModelProperty(value = "退款套餐ids")
    private String packageSnapshotIds;

    /**退款金额（元）*/
    @ApiModelProperty(value = "退款金额（元）")
    private java.math.BigDecimal amount;

    /**退款原因*/
    @ApiModelProperty(value = "退款原因")
    private String reason;

    /**是否已完成退款*/
    @ApiModelProperty(value = "是否已完成退款")
    private Integer isRefunded;

}
